package com.example.mybatisplus.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.mybatisplus.model.domain.Buildings;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mybatisplus.model.dto.PageDTO;
import com.example.mybatisplus.model.dto.vo.Id_BuildingVO;
import com.example.mybatisplus.model.dto.vo.Stats4BuildingVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lxp
 * @since 2024-07-16
 */
public interface BuildingsService extends IService<Buildings> {

    List<Stats4BuildingVO> getBuildingById();

    Page<Buildings> pageList(Buildings buildings, PageDTO dto);

    List<Id_BuildingVO> buildingListById(int id);
}
